<?php 
	foreach ($arrData['content'] as $v){
	$image_url = trim($v);
?>
<a class="<?php echo $arrData['class']; ?>" rel="<?php echo $arrData['rel']; ?>"  href="<?php echo $image_url; ?>" title="<?php echo $arrData['title'] ?>" ><img src="<?php echo $image_url; ?>" width="<?php echo $arrData['frameWidth']; ?>"/></a>
<?php
	}
?>
<script language="javascript" type="text/javascript"> 
/* <![CDATA[ */
jQuery(document).ready(function() {
	jQuery("a.<?php echo $arrData['class']; ?>").fancybox({imageScale:<?php echo $arrData['imageScale']?>, centerOnScroll: <?php echo $arrData['centerOnScroll']; ?>});
});
/* ]]> */
</script>